package com.gcsoftware.web.controller;

import org.springframework.web.bind.annotation.*;

/**
 * Created by qs on 2018/4/3.
 */
@RestController
public class TestController {

    @RequestMapping("")
    public String sayHello() {
        return "HELLO_TEST!";
    }

    public static void main(String[] args) {
        /*Jedis jedis = new Jedis("127.0.0.1",6379);
        System.out.println("连接成功");
        //jedis.set("runoobkey", "www.runoob.com");
        // 获取存储的数据并输出
        System.out.println("redis 存储的字符串为: "+ jedis.get("runoobkey"));*/
    }
}
